import { RouteRow } from "@renderer/types/route";
import { createWebHashHistory, createRouter } from "vue-router";
export const routes: RouteRow[] = [
  {
    path: "/",
    redirect: "/workbenchClone"
  },
  {
    path: "/workbenchClone",
    name: "工作台分身",
    icon: "icon-liulanqifenshen_24",
    isMenu: true,
    component: () => import("@renderer/views/WorkbenchClone.vue")
  },
  {
    path: "/projectManage",
    name: "项目管理",
    icon: "icon-liulanqifenshen_24",
    isMenu: true,
    component: () => import("@renderer/views/ProjectManage/list.vue")
  },
  {
    path: "/projectManage/detail",
    name: "项目详情",
    component: () => import("@renderer/views/ProjectManage/detail.vue")
  }
];
const router = createRouter({
  history: createWebHashHistory(),
  routes
});

export default router;
